package createPattern.prototypePattern.shallow;

public class Family implements Cloneable {

	private Parent parent;

	public Family(Parent parent) {
		this.parent = parent;
	}

	public Parent getParent() {
		return parent;
	}

	public void setParent(Parent parent) {
		this.parent = parent;
	}

	public Family clone() throws CloneNotSupportedException {
		Family proto = (Family) super.clone();
		return proto;
	}

}
